package team.you.ticket.pojo;

import java.io.Serializable;
import java.util.Date;

public class TrainNum implements Serializable {
    private String id;

    private String carId;

    private Date starTime;

    private String starSite;

    private Date endTime;

    private String endSite;
   //显示声明构造函数后，要显示声明一个无参构造函数
    public TrainNum()
    {

    }

    public TrainNum(String id, String carId, Date starTime, String starSite, Date endTime, String endSite,Double range,Integer money,Integer popleNum, String remarks) {
        this.id = id;
        this.carId = carId;
        this.starTime = starTime;
        this.starSite = starSite;
        this.endTime = endTime;
        this.endSite = endSite;
        this.range=range;
        this.money=money;
        this.popleNum=popleNum;
        this.remarks = remarks;
    }
    private Double range;

    private Integer money;

    private Integer popleNum;

    private String remarks;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId == null ? null : carId.trim();
    }

    public Date getStarTime() {
        return starTime;
    }

    public void setStarTime(Date starTime) {
        this.starTime = starTime;
    }

    public String getStarSite() {
        return starSite;
    }

    public void setStarSite(String starSite) {
        this.starSite = starSite == null ? null : starSite.trim();
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getEndSite() {
        return endSite;
    }

    public void setEndSite(String endSite) {
        this.endSite = endSite == null ? null : endSite.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public Double getRange() {
        return range;
    }

    public void setRange(Double range) {
        this.range = range;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Integer getPopleNum() {
        return popleNum;
    }

    public void setPopleNum(Integer popleNum) {
        this.popleNum = popleNum;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }
}